package game.classes;

/**
 * @author Chris
 */
public class Shot extends GameObject {

    public static int WIDTH = 12;
    public static int HEIGHT = 23;
    private boolean local;
    private int SPEED = 5;
    private int step = 5;

    public Shot(int x, int y, int step, boolean local) {
        super("shot.gif", x, y);
        this.step = step;
        this.local = local;
    }

    public void move() {
        setY(getY() + (step * SPEED));
    }

    public int getStep() {
        return step;
    }

    public boolean getLocal() {
        return local;
    }
}
